package com.taotaojs.mybootsuper.task;



import lombok.extern.log4j.Log4j2;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

//@Transactional
/**
 * @author hantao
 */
@Component
@Log4j2
public class ScheduledTask {

    @Scheduled(cron = "* * * * 1 ?")
    public void pushInfoByMessageBegin() {
        log.info("---------父类定时任务---------");
    }

}
